﻿namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_SAMPLE_PAIL")]
    public partial class PUB_SAMPLE_PAIL
    {
        [Key]
        [Column(Order = 0)]
        public byte PAIL { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(40)]
        public string SAMPLING_NODE_ID { get; set; }

        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        public byte? THRESHOLD_P { get; set; }

        public byte? CURRRENT_P { get; set; }

        public decimal? THRESHOLD_W { get; set; }

        public decimal? CURRRENT_W { get; set; }

        [StringLength(40)]
        public string RFID { get; set; }

        [StringLength(20)]
        public string SAMPLE_CODE { get; set; }
    }
}
